<%@ Control Language="vb" AutoEventWireup="false" Explicit="true" CodeFile="Edit.ascx.vb"
    Inherits="NVPortal.Modules.NVProduct.Edit" %>
<%@ Register TagPrefix="dnn" TagName="TextEditor" Src="~/controls/TextEditor.ascx" %>
<%@ Register TagPrefix="dnn" Namespace="DotNetNuke.Web.UI.WebControls" Assembly="DotNetNuke.Web" %>
<%@ Register TagPrefix="dnn" Namespace="DotNetNuke.UI.WebControls" Assembly="DotNetNuke" %>
<script type="text/javascript" language="JavaScript" src="/js/NVCorp.js"></script>
<style type="text/css">
    .upnproductstd1, .upnproductstd2
    {
        padding: 3px 0px;
        border-bottom: solid 1px #eee;
    }
    .upnproductstd1
    {
        width: 200px;
    }
</style>
<table id="Table1" width="100%" cellpadding="0" cellspacing="0" style="font-family: Arial;
    font-size: 12px; color: #434343;" align="center">
    <tr>
        <td colspan="2" style="display: none;">
            <asp:LinkButton ID="lbtUpdateTop" runat="server" Font-Bold="True"><img src="/images/Acapnhat.jpg" alt="" /></asp:LinkButton>&nbsp;&nbsp;
            <asp:LinkButton ID="lbtDeleteTop" runat="server" Font-Bold="True">Xoá tin</asp:LinkButton>&nbsp;&nbsp;
            <asp:LinkButton ID="lbtCancelTop" runat="server" Font-Bold="True">Huỷ bỏ</asp:LinkButton>
        </td>
    </tr>
    <tr>
        <td colspan="2">
            <asp:Label ID="lbResult" runat="server" CssClass="NormalRed"></asp:Label>
        </td>
    </tr>
    <tr>
        <td class="upnproductstd1" width="200px">
            Tên sản phẩm:
        </td>
        <td class="upnproductstd2">
            <asp:TextBox ID="txtTitle" runat="server" Width="600px" Font-Bold="true" Font-Size="14px"></asp:TextBox>
        </td>
    </tr>
    <tr>
        <td class="upnproductstd1">
            Tên phụ:
        </td>
        <td class="upnproductstd2">
            <asp:TextBox ID="txtTitlePhu" runat="server" Width="400px"></asp:TextBox>
        </td>
    </tr>
    <tr>
        <td class="upnproductstd1">
            Thư mục
        </td>
        <td class="upnproductstd2">
            <asp:DropDownList ID="ddlCategory" runat="server" Width="280px" Height="20px" Font-Bold="true"
                Font-Size="13px">
            </asp:DropDownList>
        </td>
    </tr>
    <tr>
        <td class="upnproductstd1">
            Mã sản phẩm:
        </td>
        <td class="upnproductstd2">
            <asp:TextBox ID="txtMasp" runat="server" Width="120px" Font-Bold="true" Font-Size="14px"></asp:TextBox>
        </td>
    </tr>
    <tr>
        <td class="upnproductstd1">
            Giá
        </td>
        <td class="upnproductstd2">
            <asp:TextBox ID="txtGia" runat="server" Width="100px" Font-Bold="true" Font-Size="14px"></asp:TextBox>
            (VNĐ)
        </td>
    </tr>
    <tr>
        <td class="upnproductstd1">
            Giá khuyến mãi (nếu có)
        </td>
        <td class="upnproductstd2">
            <asp:TextBox ID="txtGiaKM" runat="server" Width="100px" Font-Bold="true" Font-Size="14px"></asp:TextBox>
            (VNĐ)
        </td>
    </tr>
    <tr>
        <td class="upnproductstd1">
            Sản phẩm Khuyến Mãi
        </td>
        <td class="upnproductstd2">
            <asp:CheckBox id="chkSPKM" Checked="false" runat="server"></asp:CheckBox> (Nếu là Sản phẩm Khuyến mãi thì chọn)
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Giá trị giảm: <asp:TextBox ID="txtgiatriKM" runat="server" Width="50px" Font-Bold="true" Font-Size="14px"></asp:TextBox> (%)
        </td>
    </tr>
    <tr>
        <td class="upnproductstd1">
            Chất liệu
        </td>
        <td class="upnproductstd2">
            <asp:TextBox ID="txtChatlieu" runat="server" Width="300px"></asp:TextBox>
        </td>
    </tr>
    <tr>
        <td class="upnproductstd1">
            Xuất xứ
        </td>
        <td class="upnproductstd2">
            <asp:TextBox ID="txtXuatxu" runat="server" Width="300px"></asp:TextBox>
        </td>
    </tr>
    <tr>
        <td class="upnproductstd1">
            Ảnh sản phẩm<br />
        </td>
        <td class="upnproductstd2">
            <input id="txtFile" type="file" size="40" name="txtFile" runat="server" />&nbsp;&nbsp;
            <asp:LinkButton ID="lbtUpload" runat="server"><font style="color: Black; font-weight: bold">[Tải lên server]</font></asp:LinkButton>&nbsp;&nbsp;
            <asp:LinkButton ID="lbtCancel" runat="server"><font style="color: Black; font-weight: bold">[Huỷ bỏ]</font></asp:LinkButton><br />
            <asp:Image ID="imgNews" runat="server" Width="100" Visible="False"></asp:Image><br />
            Link ảnh:
            <asp:Label ID="lblMessage" runat="server" CssClass="NormalRed"></asp:Label><br />
            <asp:Label ID="lblanh" runat="server"></asp:Label>
        </td>
    </tr>
    <tr style="display: none;">
        <td class="upnproductstd1">
            Link ảnh bé:
        </td>
        <td class="upnproductstd2">
            <asp:TextBox ID="txtLinkImage" runat="server" Width="360px"></asp:TextBox>
        </td>
    </tr>
</table>
<table id="Table2" width="100%" cellpadding="0" cellspacing="0" style="font-family: Tahoma;
    font-size: 12px; color: #434343;" align="center">
    <tr>
        <td>
            <h3>
                Thông tin về Sản phẩm:</h3>
        </td>
    </tr>
    <tr>
        <td>
            <dnn:TextEditor DefaultMode="basic" ID="txtThongtin" Width="98%" Height="500" runat="server" />
        </td>
    </tr>
</table>
<table id="Table4" width="100%" cellpadding="0" cellspacing="0" style="font-family: Tahoma;
    font-size: 12px; color: #434343; padding: 10px 40px;" align="center">
    <tr>
        <td>
            <asp:LinkButton ID="lbtUpdateBottom" runat="server" Font-Bold="True"><img src="/images/Acapnhat.jpg" style="border: 0px;" alt="Cập nhật" /></asp:LinkButton>&nbsp;&nbsp;&nbsp;&nbsp;
            <asp:LinkButton ID="lbtDeleteBottom" runat="server" Font-Bold="True"><img src="/images/Axoa.jpg" style="border: 0px;" alt="Xóa tin" /></asp:LinkButton>&nbsp;&nbsp;&nbsp;&nbsp;
            <asp:LinkButton ID="lbtCancelBottom" runat="server" Font-Bold="True"><img src="/images/Aback.jpg" style="border: 0px;" alt="Xóa tin" /></asp:LinkButton>
        </td>
    </tr>
</table>
